package service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.Setmeal;

import java.util.List;

/**
 * ClassName: SetmealService
 * Description:套餐业务接口
 * date: 2019/11/22 14:51
 * Author Airson
 * Since JDK 1.8
 */
public interface SetmealService {
    //添加套餐
    void add(Integer[] checkgroupIds, Setmeal setmeal);
    //分页查询
    PageResult findPage(QueryPageBean queryPageBean);
    //查询所有
    List<Setmeal> findAll();
    //根据Id查询套餐
    Setmeal findById(Integer id);
}

